package com.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Entity//Repository使用
@Table(name = "website_visitorurl")
// 对应访问网址记录
public class WebsiteVisitorUrl {

    @Id
    private String id;
    private String addr;
    private String urlid;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    //private Date createtime;
    private LocalDateTime createtime;

}
